.PHONY:all
all:read_test write_test

read_test:read_test.cpp
	g++ -o $@ $^
write_test:write_test.cpp
	g++ -o $@ $^

.PHONY:clean
clean:
	rm -rf read_test write_test